package com.hunter.jerrymouse.server;

/**
 * Created by hunter
 * <p>
 * 服务接口
 */
public interface Server {

    int DEFAULT_PORT = 9090;

    void beforeStart();

    void start(int port) throws Exception;

    void afterStart();

    void shutDown();
}
